
<h3 class="page-title">机场信息维护
    <small>Airport Information Maintenance</small>
</h3>
<ul class="breadcrumb">
    <li>
        <i class="icon-home"></i>
        <a href="index.html">Home</a>
        <i class="icon-angle-right"></i>
    </li>
    <li><a href="#">首页</a></li>
    <li class="pull-right no-text-shadow">
        {{utc}} UTC
    </li>
</ul>

<div class="portlet box red">
    <div class="portlet-title">
        <div class="caption"><i class="icon-cogs"></i>添加机场</div>
        <div class="tools">
            <a href="javascript:;" class="collapse"></a>
            <a href="javascript:;" map class="map"></a>
        </div>
    </div>
    <div class="portlet-body" style="overflow: hidden";>
        <form class="horizontal-form">
            <h4 class="form-section">基础信息</h4>
            <div class="row-fluid">

                <div class="span2">
                    <div class="control-group">
                        <label class="control-label">机场四码</label>
                        <div class="controls">
                            <input type="text" class="m-wrap span12" placeholder="机场四码" ng-model="airport.ident">
                        </div>
                    </div>
                </div>

                <div class="span2">
                    <div class="control-group">
                        <label class="control-label">名称</label>
                        <div class="controls">
                            <input type="text" class="m-wrap span12" placeholder="机场名称" ng-model="airport.name">
                        </div>
                    </div>
                </div>

                <div class="span2">
                    <div class="control-group">
                        <label class="control-label">所属城市</label>
                        <div class="controls">
                            <input type="text" class="m-wrap span12" placeholder="所属城市" ng-model="airport.city">
                        </div>
                    </div>
                </div>

                <div class="span2">
                    <div class="control-group">
                        <label class="control-label">是否启用</label>
                        <div class="controls">
                            <select class="span12 m-wrap" ng-model="airport.state">
                                <option value="-1">--机场状态--</option>
                                <option value="0">关闭</option>
                                <option value="1">启用</option>
                            </select>
                        </div>
                    </div>
                </div>

                <div class="span2">
                    <div class="control-group">
                        <label class="control-label">所属国家</label>
                        <div class="controls">
                            <div class="controls">
                                <input type="text" class="m-wrap span12" placeholder="所属国家" ng-model="airport.country">
                            </div>
                        </div>
                    </div>
                </div>
                <div class="span2">
                    <div class="control-group">
                        <label class="control-label">所属地区</label>
                        <div class="controls">
                            <div class="controls">
                                <input type="text" class="m-wrap span12" placeholder="所属地区" ng-model="airport.region">
                            </div>
                        </div>
                    </div>
                </div>

            </div>


            <h4 class="form-section">详细信息</h4>
            <div class="row-fluid">
            <div class="span2">
                <div class="control-group">
                    <label class="control-label">燃油指标</label>
                    <div class="controls">
                        <input type="text" class="m-wrap span12" placeholder="燃油指标" ng-model="airport.fuelFlags">
                    </div>
                </div>
            </div>

            <div class="span2">
                <div class="control-group">
                    <label class="control-label">塔台频率</label>
                    <div class="controls">
                        <input type="text" class="m-wrap span12" placeholder="塔台频率" ng-model="airport.towerFrequency">
                    </div>
                </div>
            </div>

            <div class="span2">
                <div class="control-group">
                    <label class="control-label">最长跑道长度</label>
                    <div class="controls">
                        <input type="text" class="m-wrap span12" placeholder="最长跑道长度" ng-model="airport.longestRunwayLength">
                    </div>
                </div>
            </div>

            <div class="span2">
                <div class="control-group">
                    <label class="control-label">最长跑道宽度</label>
                    <div class="controls">
                        <input type="text" class="m-wrap span12" placeholder="最长跑道宽度" ng-model="airport.longestRunwayWidth">
                    </div>
                </div>
            </div>

            <div class="span2">
                <div class="control-group">
                    <label class="control-label">最长跑道磁航向</label>
                    <div class="controls">
                        <input type="text" class="m-wrap span12" placeholder="最长跑道磁航向" ng-model="airport.longestRunwayHeading">
                    </div>
                </div>
            </div>

            <div class="span2">
                <div class="control-group">
                    <label class="control-label">跑道数量</label>
                    <div class="controls">
                        <select class="span12 m-wrap" ng-model="airport.numRunways">
                            <option value="1">1</option>
                            <option value="2">2</option>
                            <option value="3">3</option>
                            <option value="4">4</option>
                            <option value="5">5</option>
                        </select>
                    </div>
                </div>
            </div>

        </div>

            <div class="row-fluid">
                <div class="span2">
                    <div class="control-group">
                        <label class="control-label">机场标高</label>
                        <div class="controls">
                            <input type="text" class="m-wrap span12" placeholder="机场标高" ng-model="airport.altitude">
                        </div>
                    </div>
                </div>

                <div class="span2">
                    <div class="control-group">
                        <label class="control-label">经度</label>
                        <div class="controls">
                            <input type="text" class="m-wrap span12" placeholder="经度" ng-model="airport.lonx">
                        </div>
                    </div>
                </div>

                <div class="span2">
                    <div class="control-group">
                        <label class="control-label">纬度</label>
                        <div class="controls">
                            <input type="text" class="m-wrap span12" placeholder="纬度" ng-model="airport.laty">
                        </div>
                    </div>
                </div>

            </div>

            <!--/row-->
        </form>
        <div class="form-actions">
            <a href="javascript:;" class="btn blue" ng-click="save()"><i class="icon-save"></i> 保存</a>
            <a href="javascript:;" class="btn "><i class="icon-undo"></i> 重置</a>
        </div>
    </div>
</div>